package com.wjf.shortlink.shortlink;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.Collections;

@SpringBootApplication
@MapperScan("com.wjf.shortlink.shortlink.dao.mapper")
public class ShortLinkApplication {

    public static void main(String[] args) {
//        SpringApplication app = new SpringApplication(ShortLinkApplication.class);
//        app.setDefaultProperties(Collections.singletonMap("server.port", "8080"));
//        app.run(ShortLinkApplication.class, args);
        SpringApplication.run(ShortLinkApplication.class, args);
    }

}
